package com.hc.demo.mapper;

import com.hc.demo.domain.Cireport;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CireportMapper {
    int deleteByPrimaryKey(Integer cirId);

    int insert(Cireport record);

    int insertSelective(Cireport record);

    Cireport selectByPrimaryKey(Integer cirId);

    int updateByPrimaryKeySelective(Cireport record);

    int updateByPrimaryKey(Cireport record);

    @Select("select cirId, ciId, ciName, orderId from cireport where orderId=#{orderId}")
    List<Cireport> selecctByOrderId(Integer orderId);
}